package com.ruyuan.common.model;

import lombok.Data;

/**
 * @author xx
 */
@Data
public class BusinessException extends RuntimeException{

    private ErrorCode errorCode;

    public BusinessException(ErrorCode errorCode) {
        this.errorCode = errorCode;
    }

}
